import {
  Column,
  Entity,
  ObjectID,
  ObjectIdColumn,
  PrimaryColumn,
  PrimaryGeneratedColumn,
  Unique,
} from 'typeorm';
import { Schema } from 'inspector';
import { Field, ID, InputType, ObjectType } from '@nestjs/graphql';

@Entity('T_TEXT')
export class EmrDocTypeEntity {
  @PrimaryGeneratedColumn()
  @ObjectIdColumn()
  readonly _id: ObjectID;

  @Column()
  ID: string;

  @Column()
  TEXTNAME: string;

  @Column()
  PARENTID: string;
}
